package cn.com.dhc.danlu.activity.delivery.order.bean;

import cn.com.dhc.danlu.activity.delivery.order.typefactory.IOrderTypeFactory;

/**
 * author: 李一方(<a href="mailto:liyifang@danlu.com">liyifang@danlu.com</a>)<br/>
 * version: 1.0.0<br/>
 * since: 2017-02-14 15:11
 * <p>
 * <p>
 * 内容描述区域
 * </p>
 */
public class OrderStatusBean extends BaseHolderBean {

    // 订单状态
    private String orderStatus;
    // 取消状态
    private String cancelStatus;
    // 异常状态
    private String errorStatus;
    // 收货状态
    private String receiveStatus;
    // 订单状态 P012-支付结果确认中 P009-退款结果确认中 add by llq
    private String payStatus2Middle;
    // 支付通道
    private String payWay;

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getCancelStatus() {
        return cancelStatus;
    }

    public void setCancelStatus(String cancelStatus) {
        this.cancelStatus = cancelStatus;
    }

    public String getErrorStatus() {
        return errorStatus;
    }

    public void setErrorStatus(String errorStatus) {
        this.errorStatus = errorStatus;
    }

    public String getReceiveStatus() {
        return receiveStatus;
    }

    public void setReceiveStatus(String receiveStatus) {
        this.receiveStatus = receiveStatus;
    }


    public String getPayStatus2Middle() {
        return payStatus2Middle;
    }

    public void setPayStatus2Middle(String payStatus2Middle) {
        this.payStatus2Middle = payStatus2Middle;
    }

    public String getPayWay() {
        return payWay;
    }

    public void setPayWay(String payWay) {
        this.payWay = payWay;
    }

    @Override
    public int type(IOrderTypeFactory IOrderTypeFactory) {
        return IOrderTypeFactory.type(this);
    }

    @Override
    public String getImpOrderNo() {
        return super.getImpOrderNo();
    }
}
